package com.bbc.base.page;

import java.util.List;

/**
 * 2012-11-23
 * @author hanshaofeng
 *
 * @param <T>
 */
public interface PaginatedList<T> extends List<T> {
	
	public abstract boolean isMiddlePage();

    public abstract boolean isLastPage();

    public abstract boolean isNextPageAvailable();

    public abstract boolean isPreviousPageAvailable();

    public abstract int getPageSize();

    public abstract void setPageSize(int i);

    public abstract int getIndex();

    public abstract void setIndex(int i);

    public abstract int getTotalItem();

    public abstract void setTotalItem(int i);

    public abstract int getTotalPage();

    public abstract int getStartRow();

    public abstract int getEndRow();

    public abstract int getNextPage();

    public abstract int getPreviousPage();

    public abstract boolean isFirstPage();

}
